package com.ruoyi.banner.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;



/**
 * Banner管理视图对象 banner
 *
 * @author ruoyi
 * @date 2022-08-18
 */
@Data
@ExcelIgnoreUnannotated
public class BannerVo {

    private static final long serialVersionUID = 1L;

    /**
     * bannerID
     */
    @ExcelProperty(value = "bannerID")
    private Long bannerId;

    /**
     * banner图片路径
     */
    @ExcelProperty(value = "banner图片路径")
    private String bannerImg;

    /**
     * banner描述
     */
    @ExcelProperty(value = "banner描述")
    private String bannerDec;

    /**
     * 状态 0：启用 1：禁用
     */
    @ExcelProperty(value = "状态 0：启用 1：禁用", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_normal_disable")
    private Long state;


}
